/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.dinner.service.commodity;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.dinner.entity.commodity.ResCommodity;
import com.thinkgem.jeesite.modules.dinner.dao.commodity.ResCommodityDao;

/**
 * 商品管理Service
 * @author dai
 * @version 2018-11-22
 */
@Service
@Transactional(readOnly = true)
public class ResCommodityService extends CrudService<ResCommodityDao, ResCommodity> {

	public ResCommodity get(String id) {
		return super.get(id);
	}
	
	public List<ResCommodity> findList(ResCommodity resCommodity) {
		return super.findList(resCommodity);
	}
	
	public Page<ResCommodity> findPage(Page<ResCommodity> page, ResCommodity resCommodity) {
		return super.findPage(page, resCommodity);
	}
	
	@Transactional(readOnly = false)
	public void save(ResCommodity resCommodity) {
		super.save(resCommodity);
	}
	
	@Transactional(readOnly = false)
	public void delete(ResCommodity resCommodity) {
		super.delete(resCommodity);
	}
	
}